
const STATUSCODE = {
  SUCCESS: 200,
  ERROR: -1,
  AUTHORIZEEXPIRE: 401,
  NOTFOUND: 404
}

const ModelNameMapper = {
  user: 'user',  // 用户模块
  login: 'login', // 登录模块
  common:'common',// 通用模块
  record: 'record' 
}
const BaseSuccessResponse = {
  status: STATUSCODE.SUCCESS,
  message: '请求成功',
  data: {}
}
const BaseFailedResponse = {
  status: STATUSCODE.SUCCESS,
  message: '请求失败',
  data: {}
}
 module.exports = {
  STATUSCODE,
  ModelNameMapper,
  BaseFailedResponse,
  BaseSuccessResponse
} 